﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Linq.Expressions;

namespace WITM.DAL
{
    public interface IUserRepository
    {
        IEnumerable<Users> GetAll();
        IEnumerable<Users> Find(Expression<Func<Users, bool>> where);
        Users First(Expression<Func<Users, bool>> where);

        void Add(Users user);
        void Delete(Users user);
        void Attach(Users user);
    }
}

